#include <bits/stdc++.h>
using namespace std;
int main() {
    int n;
    cin >> n;
    for (int i = 1; i < 2 * n; i += 2) {
        for (int j = 0; j < 2 * n - 1 - i; ++j)
            cout << ' ';
        for (int j = 0; j < i; ++j)
            cout << '*';
        cout << endl;
    }
    return 0;
}